package com.zyndev.tool.validation;

/**
 * desc :
 * author: 张瑀楠
 * email : zyndev@gmail.com
 * date  : 2017/12/1 下午10:03
 * todo  :
 */
public class ValidResult {

    private boolean validation;

    private String message;

    public ValidResult(boolean validation, String message) {
        this.validation = validation;
        this.message = message;
    }

    public boolean isValidation() {
        return validation;
    }

    public String getMessage() {
        return message;
    }
}
